<template>
    <van-cell :title="data.name">
        <van-uploader
            v-model="data.options.defaultValue"
            multiple
            :max-count="data.options.maxCount"
        />
    </van-cell>

</template>
<script>
import { Uploader } from 'vant'
export default {
    name: 'BaseUpload',
    components: {
        [Uploader.name]: Uploader
    },
    props: {
        data: {
            type: Object
        }
    }
}
</script>
